package com.medical.patient.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("medical-doctor")
public interface InquiyFeignClient {

    /**
     * 开/关闭医生接诊
     * */
    @PostMapping("/doctor/doctormessage/inquiry")
    public String inquiry(@RequestParam("inquiry") Integer inquiry,
                          @RequestParam("doctorId")Integer doctorId
    );

}
